package com.gf.framework.demo.excelexportdemo.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * @author gaofei
 * @date 2022/5/24 18:52
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Student {
    @ExcelProperty("学号")
    private Integer id;
    @ExcelProperty("姓名")
    private String name;
    @ExcelProperty("年龄")
    private Integer age;
    @ExcelProperty(value = "出生日期")
    private LocalDate birthDate;
    @ExcelProperty(value = "出生时刻")
    private LocalTime  birthTime;
    @ExcelProperty(value = "出生日期+时刻")
    private LocalDateTime birthDateTime;
}
